/**
 * @使用scanf函数读取字符串
 *
 * @author	 wangshikun <wangshikun2010@gmail.com>
 * @copyright	(c) 2012 wangshikun <wangshikun2010@gmail.com>
 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
 * @package	default
 * @subpackage	default
 */

#include <stdio.h>
#include <cs50.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
	char s1[8], s2[8], s3[8];

	printf("请输入字符串：");
	scanf("%s%s%s", s1, s2, s3);

	printf("\ns1 = %7s\ns2 = %7s\ns3 = %7s\n", s1, s2, s3);

	return 0;
}
